package com.moliku.insurance.model.entity.cpic;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;

/**
 * @Description: 太平洋--退保请求体内容
 * @Author: yws
 * @Date: 2021/3/9 17:24
 * XmlAccessorType  绑定字段到XML
 * XmlRootElement   XML文件中的根标识
 * XmlType  控制JAXB绑定类中属性和字段的排序
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "PolicyCancellationRequest")
@XmlType(propOrder = {
        "terminalNo",
        "PolicyCancellationBaseInfo",
        "Proposer",
        "EPolicyInfo",
})
public class PolicyCancellationRequest implements Serializable {
    private static final long serialVersionUID = 3342273859175372701L;

    /**
     * 默认分公司代码，终端号, 代表业务归属，由业务提供
     */
    private String terminalNo;

    /**
     * 批单基本信息节点
     */
    private PolicyCancellationBaseInfo PolicyCancellationBaseInfo;

    /**
     * 申请人信息节点
     */
    private Proposer Proposer;

    /**
     * 电子保单关联信息
     */
    private EPolicyInfo EPolicyInfo;

}
